//
//  avatarCell.m
//  nmrsc
//
//  Created by xumckay on 16/1/12.
//  Copyright © 2016年 bric. All rights reserved.
//

#import "avatarCell.h"

@implementation avatarCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        _titleLabel=[[UILabel alloc]initWithFrame:CGRectMake(15,45-10,100,20)];
        _titleLabel.font=[UIFont systemFontOfSize:15];
        _titleLabel.textColor=COLOR(160, 160, 160, 1);
        [self.contentView addSubview:_titleLabel];
        
        _avatarView=[[UIImageView alloc]initWithFrame:CGRectMake(kDeviceWidth-30-60,14,60,60)];
        [_avatarView setImage:[UIImage imageNamed:@"personalAvatar"]];
        [self.contentView addSubview:_avatarView];
        
        UIView *sep=[[UIView alloc]initWithFrame:CGRectMake(0,89,kDeviceWidth,1)];
        sep.backgroundColor=COLOR(200, 200, 200, 1);
        [self.contentView addSubview:sep];
    }
    return self;
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
